<template>
  <div class="">
    <el-carousel height="150px">
      <el-carousel-item v-for="item in 4" :key="item">
        <h3 class="small justify-center" text="2xl">{{ item }}</h3>
      </el-carousel-item>
    </el-carousel>
  </div>
  <div class="main-image">
    <div class="title-top"></div>
    <div class="image-top"></div>
  </div>
  <div class="main-image">
    <div class="image-top" style="background-color: blueviolet"></div>
    <div class="title-top"></div>
  </div>
  <div class="main-image">
    <div class="title-top"></div>
    <div class="image-top"></div>
  </div>
  <div class="main-image">
    <div class="image-top" style="background-color: blueviolet"></div>
    <div class="title-top"></div>
  </div>
  <div class="industry">
    <div style="margin-top: 40px">这些行业都可以用我们</div>

    <div class="industry-img">
      <div class="industry-img-top">
        <div class="industry-img1"></div>
        <div class="industry-img2"></div>
        <div class="industry-img3"></div>
      </div>
      <div class="industry-img-btn">
        <div class="industry-img1"></div>
        <div class="industry-img2"></div>
        <div class="industry-img3"></div>
      </div>
    </div>
    <el-button
      style="margin-top: 50px; margin-bottom: 100px"
      type="primary"
      plain
      >Primary</el-button
    >
  </div>
  <div class="industry" style="background-color: white">
    <div style="margin-top: 60px">他们都在使用我们</div>
    <div class="mountain">
      <div v-for="item in 8" style="background-color: red"></div>
    </div>
  </div>
  <div class="safety">
    <div>安全稳定企业服务</div>
    <div style="mask-top: 10px">呱呱呱呱呱呱呱呱呱呱呱呱呱呱呱古古怪怪吼</div>
    <el-button style="margin-top: 25px" type="primary">了解更多</el-button>
  </div>
  <div class="floot">
    <el-row>
      <el-col :span="12">
        <div class="floot-left grid-content ep-bg-purple">
          <div>xxxxxxxxxxx有限公司</div>
          <div>地址：xxxxxxxxx有限公司</div>
          <div>电话：xxxxxxxxx</div>
          <div>邮箱：xxxxxxxxwwwx</div>
          <div>图标图标</div>
          <div>友情连接sssss</div>
        </div>
      </el-col>
      <el-col :span="12">
        <div class="grid-content ep-bg-purple-light">
          <el-row>
            <el-col :span="12">
              <div floot-left>
                <div>企业介绍</div>
                <div>企业介绍</div>
                <div>企业介绍</div>
                <div>企业介绍</div>
              </div>
            </el-col>
            <el-col :span="12">
              <div floot-left>
                <div>企业介绍</div>
                <div>企业介绍</div>
                <div>企业介绍</div>
                <div>企业介绍</div>
              </div>
            </el-col>
          </el-row>
        </div>
      </el-col>
    </el-row>
  </div>
</template>
<script></script>
<style scoped>
.demonstration {
  color: var(--el-text-color-secondary);
}
.el-carousel__item h3 {
  color: #475669;
  opacity: 0.75;
  line-height: 150px;
  margin: 0;
  text-align: center;
}
.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}
.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
:deep(.el-carousel__container) {
  height: 480px !important;
  position: relative;
}
.main-image {
  width: 100%;
  height: 350px;
  background-color: aqua;
  display: flex;
}
.title-top {
  width: 40%;
  height: 100%;
  background-color: antiquewhite;
}
.image-top {
  width: 60%;
  height: 100%;
  background-color: rgb(184, 137, 76);
}
.industry {
  width: 100%;
  /* height: 480px; */
  background-color: #cdced0;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}
.industry-img {
  /* 不是，普通的盒子模型，总宽度是， 外边距+ 宽度+ 边框+内边距 */
  /* 宽度 100% 然后又内边距 60，总宽度不就 100% +60px 了 */
  width: 100%;
  /* 这个是改盒子属性，用了这个，
  宽度就是 所有加起来，等于设置的宽度
  不过这个一般不咋用，至少三年了我基本没用过
  */
  box-sizing: border-box;
  /* display: flex; */

  padding-left: 70px;
  padding-right: 70px;
}
.industry-img-top {
  width: 100%;
  gap: 20px;
  margin-top: 30px;
  box-sizing: border-box;
  /* padding-left: 70px;
  padding-right: 70px; */
  /* background-color: chartreuse; */
  display: flex;
}
.industry-img1 {
  /* width: 100%; */
  height: 170px;
  flex: 3;
  background-color: darkmagenta;
}
.industry-img2 {
  /* width: 100%; */
  height: 170px;
  flex: 2;
  background-color: aquamarine;
}
.industry-img3 {
  /* width: 100%; */
  height: 170px;
  flex: 1.5;
  background-color: red;
}
.industry-img-btn {
  width: 100%;
  gap: 20px;
  margin-top: 20px;
  box-sizing: border-box;
  /* padding-left: 70px;
  padding-right: 70px; */
  /* background-color: chartreuse; */
  display: flex;
  /* justify-content: flex-end; */
  flex-direction: row-reverse;
}
/*  */
.mountain {
  width: 100%;
  margin-top: 40px;
  box-sizing: border-box;
  /* background-color: aqua; */
  padding: 0 70px;
  padding-bottom: 80px;
  /* height: 400px; */
  display: grid; /* 启用网格布局 */
  grid-template-columns: repeat(
    4,
    1fr
  ); /* 定义 3 列，每列宽度为 1fr（可分配的空间） */
  grid-template-rows: repeat(2, 150px); /* 定义 2 行，每行高 200px */
  row-gap: 5%; /* 设置行之间的间距 */
  column-gap: 7%; /* 设置列之间的间距 */
}
.safety {
  width: 100%;
  height: 300px;
  background-color: #475669;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.floot {
  width: 100%;
  height: 300px;
  padding-top: 70px;
  color: white;
  background-color: #1c232b;
}
.floot-left {
  padding-left: 70px;
  display: flex;
  flex-direction: column;
}
</style>
